package gov.tax.rti.base.security.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

import org.hibernate.annotations.GenericGenerator;

/**
 * 功能模型实体
 * 
 * @since 2013年11月6日
 * @author jimmy.li
 * @version 1.00 2013年11月6日
 */
@Entity
@Table(name = "RTI_GNMX")
public class Gnmx extends AbstractBaseModel{

	/**
	 * 
	 */
	private static final long serialVersionUID = -4759437937834610600L;

	@Id
	@GeneratedValue(generator = "guid")
	@GenericGenerator(name = "guid", strategy = "guid")
	@Column(name = "GNMX_DM", unique = true, nullable = false, length = 32)
	public String getGnmxDm() {
		return super.getDm();
	}
	
	public void setGnmxDm(String gnmxDm) {
		super.setDm(gnmxDm);
	}
	
	@Column(name = "GNMX_BM", nullable = false, length = 32)
	public String getGnmxBm() {
		return super.getBm();
	}
	public void setGnmxBm(String gnmxBm) {
		super.setBm(gnmxBm);
	}
	
	@Column(name = "GNMX_MC", nullable = false, length = 96)
	public String getGnmxMc() {
		return super.getMc();
	}
	public void setGnmxMc(String gnmxMc) {
		super.setMc(gnmxMc);
	}
	
	@Column(name = "GNMX_SY", length = 16)
	public String getGnmxSy() {
		return super.getSy();
	}
	public void setGnmxSy(String gnmxSy) {
		super.setSy(gnmxSy);
	}
	
	@Column(name = "GNMX_SX", nullable = false, length = 8)
	public String getGnmxSx() {
		return super.getSx();
	}
	
	public void setGnmxSx(String gnmxSx) {
		super.setSx(gnmxSx);
	}
}
